package com.mzpai.board.mapper;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.mzpai.board.model.StoreOrder;
import com.mzpai.mapper.BaseMapper;

/**
*
* <b>日志记录 | Mapper</b><br>
*
* yanglijun 2021-01-01 14:58:26
* 
*  @version 1.0.0
*
*/
@Repository
public interface StoreOrderMapper extends BaseMapper<StoreOrder> {
	
	/**
	 * 统计当天，按kindCode分组
	 * @param toDay
	 * @return
	 */
	List<StoreOrder> getListByDate(Map<String, Object> map);

	
	/**
	 * 统计hour，按kindCode分组
	 * @param toDay
	 * @return
	 */
	List<StoreOrder> getListByHour(Map<String, Object> map);

}
